@pc_width: 1200px;
@auto_width: 700px;

@color-red: #c41217;
@color-darkblue: #2d3e50;

html, p, ul, li, body, a {
  padding: 0;
  margin: 0;
}

ul, li {
  list-style: none;
}

.flex {
  display: flex;
}

.between {
  .flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

a, a:link {
  text-decoration: none;
}

.clearfix {
  clear: both;
}

.clearfix:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
}

@media screen and (min-width: @auto_width) {
  .pc {
    display: block;
  }

  .mobile {
    display: none;
  }

  .container {
    width: @pc_width;
    margin: 0 auto;
  }

  .header {
    background-image: url("../image/head_background.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto 100%;
    height: 125px;

    .contact {
      font-size: 14px;
      color: #d61317;
      float: right;
      width: 198px;
      margin-top: 30px;
      padding-left: 58px;

      .tel_number {
        font-family: Impact;
        color: #d61317;
        font-size: 26px;
        margin-top: -2px;
      }
    }
  }

  .nav {
    height: 60px;
    line-height: 60px;
    background-color: @color-darkblue;

    ul {
      display: flex;
      //justify-content: space-between;

      li {
        width: 164px;
        border-right: solid 1px #182a3e;
        border-left: solid 1px #4d5f75;

        &:first-child {
          border-left: none;
        }

        &:last-child {
          border-right: none;
        }

        a, a:link {
          display: block;
          color: #FFF;
          text-align: center;
          font-size: 16px;
          font-weight: bold;
        }

        a:hover {
          background-color: @color-red;
        }
      }

      li.drop {
        ul.menu {
          display: none;
          position: relative;
          background-color: rgba(0, 0, 0, .7);
          z-index: 10086;

          li {
            border: none;

            a {
              font-size: 12px;
              font-weight: normal;
              line-height: 30px;
              height: 30px;
            }
          }
        }
      }

      li.drop:hover .menu {
        display: block;
      }
    }
  }

  .banner {
    height: 507px;

    .swiper-slide {
      text-align: center;

      background-repeat: no-repeat;
      background-position: center;
      background-size: auto 100%;

      img {
        width: 100%;
      }
    }

    .swiper_offset {
      margin-bottom: 20px;
      z-index: 10086;
    }

    .swiper-pagination-bullet {
      width: 21px;
      height: 21px;
      border-radius: 100px;
      opacity: 1;
      background: none;
      background-image: url("../image/banner_icon.png");
      background-position: 0 0;
    }

    .swiper-pagination-bullet-active {
      content: " ";
      width: 21px;
      height: 21px;
      background: none;
      background-image: url("../image/banner_icon.png");
      background-position: 0 21px;
    }
  }

  .search {
    height: 75px;
    background-color: #e2e2e2;
    padding-top: 15px;

    .search_input {
      width: 1200px;
      position: relative;
      margin: auto;
      background-color: #fff;
      display: flex;
      justify-content: space-between;

      input {
        width: 100%;
        height: 53px;
        line-height: 53px;
        padding: 0 10px 0 45px;
        background: url(../image/icon_search.jpg) no-repeat 15px center #fff !important;
        font-family: "微软雅黑";
        border: 2px solid #ec2828;
        border-right: none;
      }

      input:focus, input:target {
        outline: none;
      }

      .btn-select {
        border: 2px solid #ec2828;
        border-left: none;
        padding: 4px 30px;
      }

      select {
        line-height: 53px;
        height: 33px;
        border: 0;
        border-left: solid 1px #a8a8a8;
        margin-top: 4px;
        outline: none;
        padding-left: 20px;
        width: 100px;
      }

      select:focus, select:target {
        outline: none;
      }

      .search_button {
        background-color: #ec2828;
        border: solid 3px #ec2828;
        color: #FFFFFF;
        width: 180px;
        text-align: center;
        border-bottom-right-radius: 5px;
        border-top-right-radius: 5px;
      }
    }
  }

  .unit {
    padding: 50px 0;

    &:nth-child(2n) {
      background-color: #FFFFFF;
    }

    &:nth-child(2n-1) {
      background-color: #f5f5f5;
    }

    .title {
      display: block;
      font-size: 24px;
      margin-block-start: 0.67em;
      margin-block-end: 0.67em;
      margin-inline-start: 0;
      margin-inline-end: 0;
      font-weight: bold;
    }

    .content {

      .row {
        display: flex;
        justify-content: space-between;
        width: 100%;
        flex-wrap: wrap;

        .col-5 {
          width: 230px;
          margin-bottom: 10px;

          &:nth-child(5n + 1) {
            margin-left: 0;
          }
        }

        .col-3 {
          width: 380px;
          margin-bottom: 20px;
        }
      }
    }
  }

  .knowledge {
    height: 603px;
    background-image: url("../image/index_background_1.jpg");
    background-repeat: no-repeat;
    background-position: top center;
    background-size: auto 100%;

    .container {
      width: 1000px;
    }

    .title {
      text-align: center;
      color: #fff;
      background: url("../image/knowledge_title_background.png") no-repeat center top;
      font: 30px/47px "Microsoft Yahei";
    }

    .center {
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
      width: 349px;
    }

    .content {
      display: flex;
      justify-content: space-between;

      .item {
        width: 290px;

        .title {
          text-align: right;
          display: block;
          font: bold 18px/36px "Microsoft Yahei";
          color: #2d3e50;
          background: none;
          margin: 0;
        }

        .description {
          margin-left: 17px;
          display: inline;
          float: left;
          width: 290px;
          overflow: hidden;
          color: #676767;
          font: 14px/26px "Microsoft Yahei";
        }

        &:nth-child(2n) {
          padding-left: 350px;

          .title {
            text-align: left;
          }
        }

        &:nth-child(1),
        &:nth-child(2) {
          margin-bottom: 115px;
        }
      }
    }
  }

  .register_step {
    height: 461px;
    background-image: url("../image/index_background_2.jpg");
    background-repeat: no-repeat;
    background-position: top center;

    .title {
      background-image: url("../image/register_title_background.png");
      background-repeat: no-repeat;
      background-position: top center;
      height: 100px;
      text-align: center;
      font: bold 25px/30px "宋体";
      overflow: hidden;

      a {
        display: inline-block;
        margin-top: 12px;
        color: #000;
      }

      .description {
        display: block;
        font: bold 25px/40px "Microsoft Yahei";
        text-transform: uppercase;
        color: #ddd;
      }
    }

    .content {
      background-image: url("../image/register_c.png");
      background-position: center;
      background-repeat: repeat-x;
      width: 1000px;
      margin: 0 auto;

      ul {
        display: flex;
        justify-content: space-between;

        li {
          margin-top: 15px;

          &:nth-child(2n) {
            margin-top: 50px;
            float: left;
            overflow: hidden;
            font: 14px/20px "Microsoft Yahei";
            text-align: center;
            color: #000;
          }

          a.icon {
            width: 110px;
            height: 110px;
            line-height: 110px;
            display: block;
            cursor: pointer;
          }

          ._title {
            text-align: center;
            display: block;
            margin-top: 5px;
            font: bold 14px/20px "Microsoft Yahei";
            color: #2c2c2c;
          }
        }
      }
    }

    .tool {
      width: 326px;
      margin: 0 auto;
      display: flex;
      justify-content: space-between;
      margin-top: 40px;

      a {
        width: 149px;
        height: 40px;
        background: url("../image/register_button_background.png") no-repeat center top;
        font: 16px/40px "Microsoft Yahei";
        text-align: center;
        color: #362c23;
      }
    }
  }

  .about {
    margin-bottom: 50px;

    .title {
      height: 100px;
      text-align: center;
      font: bold 25px/30px "宋体";
      background: url("../image/about_title_background.png") no-repeat center top;
      overflow: hidden;
      color: #000;

      a {
        display: block;
        margin-top: 12px;
        color: #000;
      }

      .description {
        font: bold 25px/40px "Microsoft Yahei";
        text-transform: uppercase;
        color: #ddd;
      }
    }

    .content {
      width: 1000px;
      margin: 0 auto;
      display: flex;
      justify-content: center;
      overflow: hidden;

      .about_unit {
        width: 50%;

        ._title {
          background-image: url("../image/about_unit_title_background.gif");
          background-repeat: no-repeat;
          background-position: center 16px;
          margin-top: 38px;

          a {
            text-align: center;
            color: #2e2e2e;
            display: block;
            font: 20px/30px "Microsoft Yahei";
          }

          .en {
            text-transform: uppercase;
            text-align: center;
            font: 20px/30px "Microsoft Yahei";
          }
        }

        &:first-child {
          padding-left: 35px;
          background: #f5f5f5;
        }
      }

      .description {
        font: 14px/28px "Microsoft Yahei";
        color: #686868;
        display: block;
        margin-block-start: 1em;
        margin-block-end: 1em;
        margin-inline-start: 0;
        margin-inline-end: 0;
      }

      a.more {
        display: block;
        width: 121px;
        height: 30px;
        margin: 18px auto 0;
        font: 14px/30px "Microsoft Yahei";
        text-align: center;
        color: #686868;
        border: 6px solid #abbed1;
      }
    }
  }

  .news {
    height: 320px;

    .container {
      width: 1000px;
    }

    .content {
      ul {
        width: 100%;

        li {
          display: flex;
          justify-content: space-between;
          height: 38px;
          line-height: 38px;
          padding-left: 20px;
          width: calc(50% - 40px);
          margin: 0 10px;
          float: left;
          background: url("../image/news_c.gif") 4px 16px no-repeat;
          font-size: 14px;
          border-bottom: #d1d1d1 1px dashed;

          a {
            display: block;
            width: 100%;

            span {
              display: inline-flex;
              flex-grow: 1;
              color: #333;
              //width: 100%;
              width: calc(100% - 80px);
            }

            span.date {
              color: #999999;
              font-size: 14px;
              line-height: 38px;
              width: 80px;
            }
          }
        }

        li:hover {
          a {
            span {
              color: @color-red;
            }
          }
        }
      }
    }
  }

  .foot {
    height: 151px;
    background-color: #2d3e50;
    border-top: #1a2b3d 4px solid;
    margin: 0;
    padding: 0;
    color: #eeeeee;
    font-size: 14px;
    text-align: center;
    line-height: 28px;

    a {
      color: #FFFFFF;
    }
  }

  // news list
  .news_list {
    margin-top: 20px;
    margin-bottom: 20px;

    .container {
      display: flex;
      justify-content: space-between;
    }

    .sidebar {
      width: 250px;

      .contact {
        margin-top: 15px;
      }

      .menu, .contact {
        border-bottom: solid 5px #2d3e50;
        border-bottom-left-radius: 5px;
        border-bottom-right-radius: 5px;

        .title {
          line-height: 50px;
          padding-left: 40px;
          height: 50px;
          line-height: 50px;
          font-size: 18px;
          color: #FFFFFF;
          background-color: #2d3e50;
          display: flex;
          border-top-left-radius: 5px;
          border-top-right-radius: 5px;

          .icon {
            width: 24px;
            display: block;
            height: 24px;
            margin-top: 18px;

            img {
              width: 23px;
              height: 16px;
            }
          }

          .text {
            margin-left: 22px;
          }
        }

        .infomation {
          border: #d1d1d1 1px dashed;
          padding: 10px;

          .phone {
            background: url(../image/Teln.gif) no-repeat scroll 0 18px transparent;
            color: #666666;
            line-height: 20px;
            padding: 10px 0 10px 55px;
            font-size: 12px;

            .number {
              font: 18px "Impact";
              color: #cd1110;
              margin-top: 2px;
            }
          }
        }

        .line {
          line-height: 28px;
          font-size: 14px;
          color: #333333;

          span:first-child {
            font-weight: bold;
            line-height: 28px;
            font-size: 14px;
            color: #333333;
          }
        }

        ul {
          width: 100%;
          border: #d1d1d1 1px dashed;

          li {
            padding-left: 40px;
            height: 42px;
            line-height: 42px;
            border-bottom: #d1d1d1 1px dotted;
            padding-bottom: 5px;
            margin: 10px 10px;

            a {
              width: 100%;
              display: block;
              color: #666;
              background: url(../image/li_bg1.jpg) 0 18px no-repeat;
              display: block;
              font-size: 16px;
              padding-left: 20px;
            }

            a:hover {
              color: #000;
              background: url(../image/li_bg1h.jpg) 0 18px no-repeat;
            }
          }

          li.active a {
            color: #000;
            background: url(../image/li_bg1h.jpg) 0 18px no-repeat;
          }
        }
      }

    }

    .content {
      width: 890px;
      border: #d1d1d1 1px dashed;
      padding: 20px;
      border-radius: 5px;
      background-color: #ffffff;

      .crumb {
        height: 40px;
        line-height: 40px;
        border-bottom: #d1d1d1 1px dotted;
        font-size: 14px;
        background: url(../image/li_bg1.jpg) 0 20px no-repeat;
        padding-left: 10px;

        a, a:link, a:visited {
          color: #0C0C0C;
        }
      }

      ul {
        padding-top: 10px;
        padding-bottom: 10px;
        padding-left: 15px;
        padding-right: 15px;

        li {
          height: 38px;
          border-bottom: #d1d1d1 1px dashed;
          padding-left: 20px;
          color: #a9a9aa;
          line-height: 38px;
          font-size: 16px;
          background: url(../image/ico-1.gif) 5px 16px no-repeat;

          a {
            color: #000;
            font-size: 16px;
            display: block;
            display: flex;
            justify-content: space-between;
            width: 100%;

            .date {
              color: #888888;
            }
          }
        }
      }

      .context {
        PADDING-RIGHT: 2px;
        PADDING-LEFT: 2px;
        PADDING-BOTTOM: 2px;
        MARGIN: 0px auto;
        WIDTH: 100%;
        PADDING-TOP: 20px;

        .title {
          color: #000;
          FONT-WEIGHT: bold;
          FONT-SIZE: 24px;
          padding-top: 0px;
          margin-top: 0px;
          MARGIN-BOTTOM: 0px;
          PADDING-BOTTOM: 10px;
          TEXT-ALIGN: center;
        }

        .information {
          margin-top: 4px;
          font-size: 14px;
          color: #990000;
          padding-top: 0px;
          text-align: center;
          border-bottom: #c1c1c1 1px dotted;
          padding-bottom: 6px;
          display: flex;
          justify-content: center;

          .source,
          .date,
          .font_size {
            display: flex;

            span:first-child {
              MARGIN-LEFT: 10px;
              COLOR: #999;
              font-weight: normal;
              MARGIN-RIGHT: 4px;
            }
          }

          .font_size {
            dd {
              padding: 0;
              margin: 0;
              MARGIN-RIGHT: 6px;
              color: #000;
            }

            span {
              &:nth-child(2) {
                display: flex;
              }
            }
          }
        }

        .inner_text {
          FONT-SIZE: 16px;
          MARGIN-LEFT: 0px;
          COLOR: #000;
          MARGIN-RIGHT: 0px;
          text-align: left;
          line-height: 200%;
          margin-top: 6px;
          padding-top: 0px;
          padding-bottom: 20px;
        }
      }
    }
  }

}

@media screen and (max-width: @auto_width) {
  img {
    max-width: 100%;
  }

  .pc {
    display: none;
  }

  .mobile {
    display: block;
  }

  .container {
    width: 100%;
  }

  .container_inner {
    margin: 0 10px;
  }

  .warp {
    padding-bottom: 50px;
  }

  .nav {
    ul {
      display: flex;
      flex-wrap: wrap;
      flex-grow: 1;

      li {
        width: calc(33.3% - 1.3px);
        background-color: @color-red;
        border: solid 1px #b10e12;

        &:nth-child(1),
        &:nth-child(2),
        &:nth-child(3) {
          border-top: none;
        }

        &:nth-child(4),
        &:nth-child(5),
        &:nth-child(6) {
          border-bottom: none;
        }

        &:nth-child(3n - 1) {
          border-left: none;
        }

        &:nth-child(3n + 3) {
          border-right: none;
        }

        a {
          color: #FFFFFF;
          display: block;
          text-align: center;
          line-height: 35px;
          font-size: 16px;
          overflow: hidden;
        }
      }
    }
  }

  .search {
    display: flex;
    width: 98%;
    border-radius: 15px;
    background-color: #fff;
    height: 40px;
    border: #ff3300 1px solid;
    margin: 10px auto;

    input,
    select,
    button {
      border: none;
      background: none;
    }

    input:focus,
    input:target,
    select:focus,
    select:target,
    button:focus,
    button:target {
      outline: none;
    }

    select {
      padding-left: 20px;
      width: 96px;
    }

    button {
      height: 40px;
      line-height: 40px;
      background-color: #F30;
      text-align: center;
      color: #fff;
      border-radius: 15px;
      display: block;
      width: 120px;
    }

    input {
      width: calc(100% - 120px - 96px);
    }
  }

  .menu {
    ul {
      display: flex;
      justify-content: space-between;

      li {
        width: 20%;

        .title {
          text-decoration: none;
          color: #3D3A3A;
          background: transparent;
          outline: none;
          text-align: center;
          margin-top: 5px;
        }
      }
    }
  }

  .title_c {
    position: relative;
    width: 100%;
    margin: 10px auto;

    .text {
      width: 100px;
      text-align: center;
      background-color: #fff;
      margin: 0 auto;
      font-weight: bold;
      font-size: 18px;
    }

    hr {
      position: absolute;
      margin-top: 13px;
      width: 100%;
      z-index: -1;
      color: #dedede;
      height: 1px;
      border: none;
      border-top: 1px solid #d7d8d8;
    }
  }

  .list {
    ul {
      li {
        width: 100%;
        height: auto;
        padding: 10px 0;
        float: left;
        line-height: 30px;
        border-bottom: 1px solid #d7d8d8;
        background: url("../image/mobile_list_c.jpg") no-repeat right center;

        a {
          display: block;
          font-size: 14px;
          color: #333;
          line-height: 20px;
          overflow: hidden;
          white-space: nowrap;
        }
      }
    }
  }

  a.more {
    width: 100px;
    height: 40px;
    padding: 0 20px;
    color: #999;
    display: block;
    font-size: 14px;
    line-height: 40px;
    border: 1px solid #d7d8d8;
    border-radius: 8px;
    text-align: center;
    margin: 20px auto;
  }

  .mobile_number {
    text-align: center;
    height: 35px;
    line-height: 35px;
    background: #cd1110;

    a {
      color: #fff;
      font-weight: bold;
      font-size: 14px;
    }
  }

  .foot {
    padding: 3px 0px;

    .copyright {
      font-size: 14px;
      margin: 0;
      border: 0;
      color: #333333;
      text-align: center;
    }
  }

  .navigation {
    border-top: 1px solid #b10e12;
    position: fixed;
    z-index: 900;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    display: block;
    height: 48px;
    width: 100%;
    background-image: -o-linear-gradient(top, #cd1110, #cd1110);
    background-image: -ms-linear-gradient(top, #cd1110, #cd1110);
    background-image: -moz-linear-gradient(top, #cd1110, #cd1110);
    background-image: -webkit-linear-gradient(top, #cd1110, #cd1110);
    background-image: linear-gradient(top, #cd1110, #cd1110);
    -moz-box-shadow: 0 1px 0 #b10e12 inset;
    -webkit-box-shadow: 0 0 0 #b10e12 inset;
    -o-box-shadow: 0 1px 0 #b10e12 inset;
    box-shadow: 0 1px 0 #b10e12 inset;

    ul {
      display: flex;
      justify-content: center;

      li {
        width: 25%;
        text-align: center;
        border-right: #b10e12 1px solid;
        border-left: #b10e12 1px solid;

        &:last-child {
          border-right: none;
        }

        &:first-child {
          border-left: none;
        }

        a {
          display: block;
          margin-top: 2px;

          img {
            width: 24px;
            height: 24px;
          }

          .name {
            margin: 1px 0 1px 0;
            font-size: 14px;
            line-height: 18px;
            text-align: center;
            color: #FFFFFF;
          }
        }
      }
    }
  }

  .crumb {
    padding: 5px;

    a, a:visited {
      color: #0C0C0C;
    }
  }

  .sidebar {
    padding: 0 5px;

    ul {
      display: flex;
      flex-wrap: wrap;

      li {
        text-align: center;
        border: 0 dashed blue;
        width: 33%;

        a, a:visited {
          color: #fff;
          background: #cd1110;
          display: block;
          margin: 8px 3px;
          padding: 5px 0;
          border: 1px solid #d1d1d1;
        }
      }
    }
  }

  .sidebar_single {
    padding: 0 5px;

    ul {
      display: flex;
      flex-wrap: wrap;

      li {
        text-align: center;
        border: 0 dashed blue;
        width: 33%;

        a, a:visited {
          display: block;
          margin: 8px 3px;
          padding: 5px 0;
          background-color: #efefef;
          border: 1px solid #d1d1d1;
          text-decoration: none;
          color: #3D3A3A;
          outline: none;
          font-size: 16px;
        }
      }
    }
  }

  .category_title {
    height: 41px;
    line-height: 41px;
    text-indent: 10px;
    background: url(../image/left_title.png) left bottom no-repeat;
    clear: both;
    font-size: 16px;
    color: #cd1110;
    font-weight: bold;
  }

  .context {
    padding: 5px;

    .title {
      font-size: 1.3em;
      margin: 0;
    }

    .date {
      color: #999;
      text-align: left;
      font-size: 12px;
      padding: 2px 0px;
      height: 25px;
    }

    .inner_text {
      margin-top: 10px;
      font-size: 17px;
      line-height: 1.8em;
      color: #333333;
    }
  }
}
